home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
blat11.zip
/
GENSOCK
/
GENSCK32.MAK
< prev
next >
Wrap
Makefile
|
1994-10-27
|
1KB
|
40 lines
!include <ntwin32.MAK>
wslib = wsock32.lib
TARGET = gensock
OBJS = gensock.obj
.SUFFIXES: .cpp
.cpp.obj:
$(cc) $(DEFS) $(cflags) $(cvarsdll) $(cdebug) $<
all: gensock.dll
$(TARGET).lib $(TARGET).exp : gensck32.def
$(implib) -out:$(TARGET).lib $(OBJS) -machine:$(CPU) -def:gensck32.def
#$(TARGET).dll : $(OBJS) $(TARGET).exp $(TARGET).res
# $(link) -out:$(TARGET).dll -dll -entry:dll_entry_point$(DLLENTRY) \
# -debug:full -debugtype:cv -subsystem:windows \
# $(LINK_FLAGS) $(TARGET).rbj $(OBJS) $(TARGET).exp\
# $(guilibsdll) wsock32.lib
$(TARGET).dll : $(OBJS) $(TARGET).exp $(TARGET).res
$(link) -out:$(TARGET).dll -dll -entry:dll_entry_point$(DLLENTRY) \
-debug:full -debugtype:cv -subsystem:windows \
$(LINK_FLAGS) $(OBJS) $(TARGET).exp\
$(guilibsdll) wsock32.lib
# Update the resource if necessary
$(TARGET).res: $(TARGET).rc
rc -r -fo $(TARGET).res $(cvars) $(TARGET).rc
!IFDEF CPUTYPE
cvtres -$(CPU) $(TARGET).res -o $(TARGET).rbj
!ENDIF
clean:
del *.obj *.lib *.exp *.dll *~